package com.tedu.pojo;

import java.util.Date;

/**
 * 党建信息实体类
 */
public class Information {
    private int id;
    private String title;
    private String author;
    private String content;
    private int type;
    private Date time;
    private String source;
    private int readtotal;

    // alt+  insert + fn？ 快捷键


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Information{" +
                "title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", content='" + content + '\'' +
                ", type=" + type +
                ", time=" + time +
                ", source='" + source + '\'' +
                ", readtotal=" + readtotal +
                '}';
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public int getReadtotal() {
        return readtotal;
    }

    public void setReadtotal(int readtotal) {
        this.readtotal = readtotal;
    }
}
